package ATM.dao;

import ATM.pojo.UserDO;

public interface UserDAO {
    /**
     * 根据不同条件，查询并获取用户
     * @param name
     * @param pwd
     * @return
     */
    UserDO getByUsernameAndPwd(String name,String pwd);
    UserDO getById(int id);
    UserDO getByName(String name) ;
    void update(UserDO userDO);
}
